package ui.activity.home.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.home.biz.KnowledgeBiz;
import ui.activity.home.contract.KnowledgeContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class KnowledgeModule {
    private KnowledgeContract.View view;

    public KnowledgeModule(KnowledgeContract.View view) {
        this.view = view;
    }

    @Provides
    public KnowledgeContract.View provideView() {
        return view;
    }

    @Provides
    public KnowledgeBiz provideBiz() {
        return new KnowledgeBiz();
    }
}